package com.parfinex.java.phase1.module2.task07;
//封装类
public class Fee {
    int show(int n) {

        int ia = 1;
        int ib = 1;
        for (int i = 3; i <= n; i++) {
            int ic = ia + ib;
            ia = ib;
            ib = ic;
        }
        return ib;
    }
}
